comp Check Num Parent
Compare the check number field, but only use the parent transaction's check number, do not use the check number for a split. This is used for sorting transactions for display to the user. At this time the user may not specify a check number for a split, so it is irrelevant and messes up the sort order.
Return
0 if they are the same, < 0 if left is less than right, > 0 otherwise.
Parameters
t1
First transaction to compare (left hand side).
t2
Second transaction to compare (right hand side).